export default {}
type obj2 = {
    a: string
    b: string
    c: string
}

type MakeOneOptional<T> = {
    [K in keyof T]: (
        Omit<T, K> & Partial<Pick<T, K>>
        )
}[keyof T];

type OneOptionalObj2 = MakeOneOptional<obj2>;
const test1: OneOptionalObj2 = {b: '1', c: '2'};       // a 可选
const test2: OneOptionalObj2 = {a: '1', c: '2'};       // b 可选
const test3: OneOptionalObj2 = {a: '1', b: '2', c: ''};       // c 可选

type T1 = Parameters<(s: string) => void>;


// 模块扩展
import {Observable} from "./observable";
import "./map";

let o: Observable<number> = new Observable();
let zz = o.map(x => {
    return x.toFixed()
})
zz.show("asdas")


console.log("谁拉大打")

